import React from "react";

 const index = React.forwardRef((props, ref) => {
    
     const bbb = () => {
        console.log("bbb")
    }

     React.useImperativeHandle(ref, () => ({
        aaaa:1111,
        focus() {
            console.log("focus")
        },
        bbb
    }))
    return (
        <>
            <input type="text" />
        </>
    )
})


export default index